package com.example.myworkers.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName emp_clock
 */
@TableName(value ="emp_clock")
@Data
public class EmpClock implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO,value = "id")
    private Integer id;

    /**
     * 员工姓名
     */
    @TableField(value = "empName")
    private String empname;

    /**
     * 
     */
    @TableField(value = "empNo")
    private Integer empno;

    /**
     * 
     */
    @TableField(value = "startTime")
    private String starttime;

    /**
     * 
     */
    @TableField(value = "endTime")
    private String endtime;

    /**
     * ；登陆时间或ip
     */
    @TableField(value = "loginTime")
    private String logintime;

    /**
     * 
     */
    @TableField(value = "record")
    private String record;

    /**
     *1-当日打卡记录
     * 2-昨天及以前的打卡记录
     */
    @TableField(value = "tag")
    private Integer tag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}